package com.baizhi.staticproxy;

/**
 * 演员，真实角色
 */
public class Actor implements Management{
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Actor(String name) {
        this.name = name;
    }

    @Override
    public void eat() {
        System.out.println(name+"在吃饭");
    }

    @Override
    public void sing() {
        System.out.println(name+"在唱歌");
    }

    @Override
    public void dance() {
        System.out.println(name+"在跳舞");
    }

    @Override
    public void film() {
        System.out.println(name+"在拍电影");
    }
}
